﻿// ************************************************* //
// AdapterListTableElement.cs
// Author: Chris Wu
// Email: cwu@dataio.com
// ------------------------------------ //
// version 1.0 - Initial Create
// date: March 24th, 2010
//
// version 1.1 - add more elements
// date: April 25th, 2010
// ------------------------------------ //
//
// ************************************************* //

using System;

namespace Common
{
    /// <summary>
    /// Description of AdapterListTableElement.
    /// </summary>
    public class AdapterListTableElement
    {
        private int         m_AdapterId;        // AdapterId, primary key,  1
        private int         m_PinMapId;         // PinMapId, 2
        private string      m_SocketId;         // SoecketId, 3
        private string      m_AdapterName;      // AdapterName, 4
        //private int         m_HIC;              // HIC
        private int         m_SocketNum;        // SocketNum, 5
        private string      m_PinOneOri;        // PinOneOri, 6
        private string      m_PackageInfo;      // PackageInfo, 7
        //private string      m_PackageName;      // PackageName
        
        // AdapterListTableElement Constructor
        public AdapterListTableElement()
        { }

        // get and set AdapterId
        public int AdapterId
        {
            get { return m_AdapterId;  }
            set { m_AdapterId = value;  }
        }

        // get and set PinMapId
        public int PinMapId
        {
            get { return m_PinMapId; }
            set { m_PinMapId = value; }
        }

        // get and set SocketId
        public string SocketId
        {
            get { return m_SocketId; }
            set { m_SocketId = value; }
        }

        // get and set AdapterName
        public string AdapterName
        {
            get { return m_AdapterName; }
            set { m_AdapterName = value; }
        }

        //// get and set HIC
        //public int HIC
        //{
        //    get { return m_HIC; }
        //    set { m_HIC = value; }
        //}

        // get and set SocketNum
        public int SocketNum
        {
            get { return m_SocketNum; }
            set { m_SocketNum = value; }
        }

        // get and set PinOneOri
        public string PinOneOri
        {
            get { return m_PinOneOri; }
            set { m_PinOneOri = value; }
        }

        // get and set PackageInfo
        public string PackageInfo
        {
            get { return m_PackageInfo; }
            set { m_PackageInfo = value; }
        }

        //// get and set PackageName
        //public string PackageName
        //{
        //    get { return m_PackageName; }
        //    set { m_PackageName = value; }
        //}
    }
}
